package logic;
import java.awt.Rectangle;

public class Block {
/*
 * Atributes
 */	
	private int id;
	private int status;
	private int parentId;
	private Rectangle position;

/*
 * Constructors
 */
	public Block(int _parentId, int _id){
		setStatus(0);
		setId(_id);
		setParentId(_parentId);
	}

/*
 * Getters
 */
	public int getId(){
		return id;
	}
	
	public int getStatus(){
		return status;
	}
	
	public Rectangle getPosition(){
		return position;
	}
	
/*
 * Setters
 */
	public void setId(int _id){
		id = _id;
	}
	
	public void setParentId(int _parentId) {
		parentId = _parentId;
	}
	
	public void setStatus(int _status){
		status = _status;
	}
	
	public void setPosition(Rectangle _position){
		position = _position;
	}
}

